import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
// 引入仓库
import pinia from '@/store'
// 组件转换为中文
// @ts-ignore
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "./styles/index.scss";


const app = createApp(App);
app.use(pinia);
app.use(ElementPlus, {
  locale: zhCn,
});
app.use(router);
app.mount("#app");
